package com.nova.edc.model.energy;

import java.math.BigDecimal;
import java.util.Date;

import com.nova.edc.model.system.CustomerInfo;
import com.nova.frame.annotation.Id;
import com.nova.frame.annotation.Join;
import com.nova.frame.annotation.Table;
import com.nova.module.filter.annotation.FilterCondition;

@Table("t_operate")
public class OPerate {
    @Id
    private Integer id;
    @FilterCondition
    private Integer customerinfoid;
    @FilterCondition
    private Integer companycode;
    @Join(fieldName = "customerinfoid", table = CustomerInfo.class, joinColumn = "CustomerName")
    private String customername;
    private String currentdate;
    private BigDecimal sale;
    private Date adddate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompanycode() {
        return companycode;
    }

    public void setCompanycode(Integer companycode) {
        this.companycode = companycode;
    }

    public String getCurrentdate() {
        return currentdate;
    }

    public void setCurrentdate(String currentdate) {
        this.currentdate = currentdate;
    }

    public Integer getCustomerinfoid() {
        return customerinfoid;
    }

    public void setCustomerinfoid(Integer customerinfoid) {
        this.customerinfoid = customerinfoid;
    }

    public String getCustomername() {
        return customername;
    }

    public void setCustomername(String customername) {
        this.customername = customername;
    }

    public BigDecimal getSale() {
        return sale;
    }

    public void setSale(BigDecimal sale) {
        this.sale = sale;
    }

    public Date getAdddate() {
        return adddate;
    }

    public void setAdddate(Date adddate) {
        this.adddate = adddate;
    }
}
